[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     push(ARRAY,LIST)

             Treats ARRAY (@ is optional) as a stack, and  pushes
             the  values  of  LIST  onto  the  end of ARRAY.  The
             length of ARRAY increases by  the  length  of  LIST.
             Has the same effect as

                 for $value (LIST) {
                      $ARRAY[++$#ARRAY] = $value;
                 }

             but is more efficient.

See Also: pop
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson